<!doctype html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
	<meta name="format-detection" content="telephone=no" />
	<title>首页</title>
	<link rel="stylesheet" type="text/css" href="../c/aui.css" />
	<style>
		html,
		body {
			background-color: transparent !important;
			height: auto;
		}

		#a {
			width: 5rem;
			display: inline-block;
			padding: 0.35rem;
		}
	</style>
</head>

<body tapmode onclick="_url({},'hongbao',true)">
	<div id="a" class="sx-btn-animation">
		<img src="../i/hongbao/icon.png" >
	</div>
</body>

<script type="text/javascript" src="../j/api.js"></script>
<script type="text/javascript">
	apiready = function() {
		api.parseTapmode();
		var _this = $('#a');
		var w = _this.width();
		var h = _this.height();
		api.setFrameAttr({
			name: 'hongbao_icon',
			rect: {
				x: 0,
				y: api.winHeight / 5,
				w: w,
				h: h,
			}
		});
	};
</script>

</html>
